<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

	<div align="center">

		<p>Edit new user data:</p>
		<br />
		<form action="edit_employee.do?id=${id}&department=${department}&salary=${salary}"
			name="editForm" method="POST">

			<table>
				<tr>
					<td>User ID:</td>
					<td><input type="text" value="${id}" readonly="readonly" /></td>
				</tr>
				<tr>
					<td>New first name:</td>
					<td><input type="text" value="${firstName}"
						readonly="readonly" /></td>
				</tr>
				<tr>
					<td>New last name:</td>
					<td><input type="text" value="${lastName}" readonly="readonly" /></td>
				</tr>
				<tr>
					<td>New department:</td>
					<td><input type="text" value="${department}" /></td>
				</tr>
				<tr>
					<td>New salary:</td>
					<td><input type="text" value="${salary}" /></td>
				</tr>

				<tr>
					<td colspan="2" align="right"><input type="submit"
						value="Update user"></td>
				</tr>
			</table>
		</form>
	</div>

</body>
</html>